package com.example.model;

import java.sql.Timestamp;

public class ManagementUser {
    private int managementId;
    private String username;
    private String password;
    private String name;
    private int departmentId;
    private String contactInfo;
    private Timestamp createTime;

    // 构造方法
    public ManagementUser() {}

    public ManagementUser(String username, String password, String name, int departmentId, String contactInfo) {
        this.username = username;
        this.password = password;
        this.name = name;
        this.departmentId = departmentId;
        this.contactInfo = contactInfo;
    }

    // Getter 和 Setter
    public int getManagementId() {
        return managementId;
    }

    public void setManagementId(int managementId) {
        this.managementId = managementId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(int departmentId) {
        this.departmentId = departmentId;
    }

    public String getContactInfo() {
        return contactInfo;
    }

    public void setContactInfo(String contactInfo) {
        this.contactInfo = contactInfo;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }
}